﻿using System;
using System.Data;

namespace ContractManagementSystem
{
	public partial class ReportConsultant : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
		    LoadReportConsultant();
		}
        /// <summary>
        /// Function LoadReportConsultant
        /// </summary>
        private void LoadReportConsultant()
        {
            var crystalReportConsultant = new CrystalReportConsultant();
            crystalReportConsultant.SetDataSource((DataTable)Session["ReportConsultant"]);
            ConsultantCrystalReportViewer.ReportSource = crystalReportConsultant;
            ConsultantCrystalReportViewer.DisplayGroupTree = false;
            ConsultantCrystalReportViewer.RefreshReport();
        }
	}
}
